package org.wmq.skycommon.pojo.entity;

public class ShoppingCart {
    Long userId;
    Integer number;

    public ShoppingCart() {
    }

    public ShoppingCart(Long userId, Integer number) {
        this.userId = userId;
        this.number = number;
    }

    /**
     * 获取
     * @return userId
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置
     * @param userId
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取
     * @return number
     */
    public Integer getNumber() {
        return number;
    }

    /**
     * 设置
     * @param number
     */
    public void setNumber(Integer number) {
        this.number = number;
    }

    public String toString() {
        return "ShoppingCart{userId = " + userId + ", number = " + number + "}";
    }
}
